      *> File Name     000001_Hello.cbl.
      *> Description   Using .NET Framework types from COBOL.
      *> Project Type  Console Application.
      *> CodePlex URL  http://cobol.codeplex.com

      *> Comments      As a general rule, don't pay too much attention
      *>               to Intellisense errors. When in doubt, build the
      *>               project and see if the compiler accepts your
      *>               code. If things get really funky in Intellisense,
      *>               close and reopen the solution.
      *>
      *>               These are such basic rules for COBOL development
      *>               in Visual Studio, that they won't be mentioned
      *>               again. Trust the compiler, and trust your own
      *>               intelligence.
     

       program-id.   Main.
       repository.
           class sys-console as "System.Console"
           enum  colors      as "System.ConsoleColor"
           .
       working-storage section.
       01  color  colors  value colors::"Blue".
       procedure division.
           move "Hello, COBOL" to sys-console::"Title"
 
           move color to sys-console::"BackgroundColor"
           display string::"Concat"(color, " is a primary color.")
 
           display "Press any key to continue . . . " no advancing
           invoke sys-console::"ReadKey"(true)
           .
       end program   Main.